package gwt.trading.client.geometry;

/**
 * @author Iulian Costan (iulian.costan@gmail.com)
 *
 */
public class Padding {

	private static final int DEFAULT_PADDING = 5;

	private int top;
	private int right;
	private int bottom;
	private int left;
	
	public static final Padding DEFAULT = new Padding();
	public static final Padding NONE = new Padding(0);

	public Padding() {
		this(DEFAULT_PADDING);
	}
	
	public Padding(int padding) {
		this(padding, padding, padding, padding);
	}

	public Padding(int top, int right, int bottom, int left) {
		this.top = top;
		this.right = right;
		this.bottom = bottom;
		this.left = left;
	}

	public int getBottom() {
		return bottom;
	}

	public int getLeft() {
		return left;
	}

	public int getRight() {
		return right;
	}

	public int getTop() {
		return top;
	}
	
}
